export function showToast(title, icon = 'none', duration = 2000) {
  wx.showToast({
    title,
    icon,
    duration,
    mask: false,
  })
}

export function showLoading(title) {
  wx.showLoading({
    title,
    mask: true,
  })
}

export function hideLoading() {
  wx.hideLoading()
}
